﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IQKS.AWP.DataAccessLayer;
using IQKS.AWP.BusinessObject;

namespace IQKS.AWP.BusinessAccessLayer
{
    public class CandidateWorkflowBAL
    {
        public DataSet GetCandidateWorkflow(params object[] param)
        {
            DataSet objDs;
            try
            {
                objDs = new CandidateWorkflowDAL().GetCandidateWorkflow(param);

            }
            catch (Exception exception)
            {
                throw new ApplicationException(exception.Message);
            }
            return objDs;
        }
        
        public DataSet GetAuditorStatus(params object[] param)
        {
            DataSet objDs;
            try
            {
                objDs = new CandidateWorkflowDAL().GetAuditorStatus(param);

            }
            catch (Exception exception)
            {
                throw new ApplicationException(exception.Message);
            }
            return objDs;
        }
        public DataSet GetAssessorWiseFeesReport(params object[] param)
        {
            DataSet objDs;
            try
            {
                objDs = new CandidateWorkflowDAL().GetAssessorWiseFeesReport(param);

            }
            catch (Exception exception)
            {
                throw new ApplicationException(exception.Message);
            }
            return objDs;
        }
        public DataSet GetAssessorStatus(params object[] param)
        {
            DataSet objDs;
            try
            {
                objDs = new CandidateWorkflowDAL().GetAssessorStatus(param);

            }
            catch (Exception exception)
            {
                throw new ApplicationException(exception.Message);
            }
            return objDs;
        }
        public DataSet GetIndustryStatus(params object[] param)
        {
            DataSet objDs;
            try
            {
                objDs = new CandidateWorkflowDAL().GetIndustryStatus(param);

            }
            catch (Exception exception)
            {
                throw new ApplicationException(exception.Message);
            }
            return objDs;
        }
        public DataSet GetAssessmentInterviewSchedule(params object[] param)
        {
            DataSet objDs;
            try
            {
                objDs = new CandidateWorkflowDAL().GetAssessmentInterviewSchedule(param);

            }
            catch (Exception exception)
            {
                throw new ApplicationException(exception.Message);
            }
            return objDs;
        }
        public DataSet GetSummeryDetails(params object[] param)
        {
            DataSet objDs;
            try
            {
                objDs = new CandidateWorkflowDAL().GetSummeryDetails(param);

            }
            catch (Exception exception)
            {
                throw new ApplicationException(exception.Message);
            }
            return objDs;
        }
        public DataSet GetCandidatePayment(params object[] param)
        {
            DataSet objDs;
            try
            {
                objDs = new CandidateWorkflowDAL().GetCandidatePayment(param);

            }
            catch (Exception exception)
            {
                throw new ApplicationException(exception.Message);
            }
            return objDs;
        }
    }
}
